#!/usr/bin/env python

##  flamingo - 2D Game Engine
##  Copyright (C) 2009 Bradley Zeis
##
##  This program is free software: you can redistribute it and/or modify
##  it under the terms of the GNU General Public License as published by
##  the Free Software Foundation, either version 3 of the License, or
##  (at your option) any later version.
##
##  This program is distributed in the hope that it will be useful,
##  but WITHOUT ANY WARRANTY; without even the implied warranty of
##  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
##  GNU General Public License for more details.
##
##  You should have received a copy of the GNU General Public License
##  along with this program.  If not, see <http://www.gnu.org/licenses/>.
##
##  Bradley Zeis
##  flamingoengine@gmail.com

import pygame.display

def init(width, height, caption, fullscreen, depth, flags):
    pygame.display.init()
    pygame.display.set_mode((width, height),
                            pygame.constants.OPENGL | pygame.constants.DOUBLEBUF | flags, depth)
    pygame.display.set_caption(caption)

def quit():
    pygame.display.quit()

def flip():
    pygame.display.flip()
    
def set_size(width, height):
    pass

def set_caption():
    pygame.display.set_caption(caption)
